<html>
<head><meta charset="utf-8"><title>Documentation for rustc_span::symbol::sym · rustdoc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/index.html">rustdoc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/Documentation.20for.20rustc_span.3A.3Asymbol.3A.3Asym.html">Documentation for rustc_span::symbol::sym</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="221233804"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/Documentation%20for%20rustc_span%3A%3Asymbol%3A%3Asym/near/221233804" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/Documentation.20for.20rustc_span.3A.3Asymbol.3A.3Asym.html#221233804">(Dec 30 2020 at 18:21)</a>:</h4>
<p>In <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/symbol/sym/index.html"><code>rustc_span::symbol::sym</code></a> the import<code>pub use super::sym_generated::*</code> doesn't get inlined even though <code>sym_generated</code> is private, which results in missing documentation.</p>
<p>Is this a known bug? Should I try to manually <code>#[doc(inline)]</code> it?</p>



<a name="221233928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/Documentation%20for%20rustc_span%3A%3Asymbol%3A%3Asym/near/221233928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/Documentation.20for.20rustc_span.3A.3Asymbol.3A.3Asym.html#221233928">(Dec 30 2020 at 18:22)</a>:</h4>
<p>I expect <code>doc(inline)</code> would fix it. This is probably related to <a href="https://github.com/rust-lang/rust/pull/77862">https://github.com/rust-lang/rust/pull/77862</a> somehow.</p>



<a name="221234700"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/Documentation%20for%20rustc_span%3A%3Asymbol%3A%3Asym/near/221234700" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/Documentation.20for.20rustc_span.3A.3Asymbol.3A.3Asym.html#221234700">(Dec 30 2020 at 18:33)</a>:</h4>
<p>Checked with <code>cargo +nightly doc --no-deps</code> (because I'm lazy), it does inline the docs</p>



<a name="221235302"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/Documentation%20for%20rustc_span%3A%3Asymbol%3A%3Asym/near/221235302" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/Documentation.20for.20rustc_span.3A.3Asymbol.3A.3Asym.html#221235302">(Dec 30 2020 at 18:42)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/issues/80523">#80523</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>